package com.yami.shop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.model.ShopDealer;
import com.yami.shop.common.util.PageParam;

public interface ShopDealerService extends IService<ShopDealer> {
    ShopDealer getShopDealerById(Integer id);

    IPage<ShopDealer> getShopDealerPage(PageParam<ShopDealer> page, ShopDealer shopDealer);

    int updateShopDealerStatus(Integer id, String status);

    int updateShopDealer(ShopDealer shopDealer);

    int addShopDealer(ShopDealer shopDealer);

}
